<!DOCTYPE html>
<html>
<head>
    <title>秒杀活动</title>
    <meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Author" content="larry" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
<link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
<script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
<script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
<script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
<script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
<script type="text/javascript" src="../../statics/js/upload.js"></script>
<script type="text/javascript" src="../../statics/common/step/steps.js"></script>
<link rel="stylesheet" href="../../statics/css/jxcPublicAll.css"  media="all">
<link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
<link rel="stylesheet" href="../../statics/common/step/steps.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
<link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
<script src="../../statics/js/modules/cropper/cropper.min.js"></script>
<script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
<script src="../../statics/common/layui/autocomplete.js"></script>
<script  src="../../statics/js/modules/viewer/viewer.min.js"></script>
<script src="../../statics/common/print-js/print.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
<script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/searchview.js"></script>
<script type="text/javascript" src="../../statics/js/tableedit.js"></script>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

<!-- 引入组件库 -->
<link rel="stylesheet" type="text/css" href="../../statics/css/index.css">






    <style>
        .multiple-cell {
            display: table-cell;
            padding-right: 8px;
            padding-left: 10px;
        }

        .multiple-cell>label {
            width: 90px !important;
        }

        .multiple-cell>img {
            display: none;
        }

        .multiple-table {
            margin-bottom: 9px;
            display: table;
            margin-left: 78px;
        }

        .lable-span {
            width: 90px !important;
        }

        .span-item-center {
            text-align: center;
            display: inherit;
        }
    </style>
</head>
<body class="ren-body">
<div id="rrapp" v-cloak>

    <!-- 查看表单 -->
    <form class="layui-form ren-form" style="margin-bottom: 60px;">
        <div class="details-tab-content">
            <div class="details-tab-content-box display">
                <div name="tabTitle" class="flex" v-for="(item, index) in detailsTabContentList" :key="index"
                     :class="index === detailsTabContentListActiveIndex ? 'active1A51FF' : ''"
                     @click="detailsTabContentBindtap(index)">
                    {{ item }}
                    <div>
                        <div :class="index === detailsTabContentListActiveIndex ? 'details-tab-content-box-absolute-bottom' : ''"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="details-conteiner">

            <div class="details-content-box"
                 v-show="detailsSupTabContentListActiveValue === '活动信息'">
                <div class="left-before">
                    <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                        活动信息
                    </div>
                </div>
                <div class="details-layui-row">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">活动标题:</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input searchVal" :value="scActivityPeer.peerTitle"
                                       disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                            <label class="layui-form-label">活动状态:</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input searchVal" :value="transformTypeByMap(scActivityPeer.status, {1:'未开始', 2:'进行中', 3:'暂停中', 4:'已结束'})"
                                       disabled/>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <label class="layui-form-label">活动门店/部门:</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input searchVal" :value="scActivityPeer.useStores"
                                       disabled/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="details-content-box"
                 v-show="detailsSupTabContentListActiveValue === '活动数据' || detailsSupTabContentListActiveValue === '活动信息'">
                <div class="left-before">
                    <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                        活动数据
                    </div>
                </div>
                <div class="details-layui-row">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                            <div class="multiple-table">
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">访问次数</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.visitCount}}</span></label>
                                </div>
                                <div class="multiple-cell">
                                    <img src="../../statics/images/u14424.png" class="u14424">
                                </div>
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">访客数量</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.browseCount}}</span></label>
                                </div>
                                <div class="multiple-cell">
                                    <img src="../../statics/images/u14424.png" class="u14424">
                                </div>
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">参与总人数</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.participantsCount}}</span></label>
                                </div>
                                <div class="multiple-cell">
                                    <img src="../../statics/images/u14424.png" class="u14424">
                                </div>
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">拉新总人数</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.newCustomerCount}}</span></label>
                                </div>
                                <div class="multiple-cell">
                                    <img src="../../statics/images/u14424.png" class="u14424">
                                </div>
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">应送奖品数</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.giftCount}}</span></label>
                                </div>
                                <div class="multiple-cell">
                                    <img src="../../statics/images/u14424.png" class="u14424">
                                </div>
                                <div class="multiple-cell">
                                    <label class="layui-form-label lable-span"><span class="span-item-center">兑换总人数</span><br/><span class="span-item-center">{{scActivityPeerStatisticsDatas.receivedCount}}</span></label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="details-content-box"
                 v-show="detailsSupTabContentListActiveValue === '用户参与数据' || detailsSupTabContentListActiveValue === '活动信息'">
                <div class="left-before">
                    <div class="list-search-sup-title new-layui-title border-bottom-dashed">
                        <div class="layui-tab layui-tab-brief" lay-filter="tabChangeTitle">
                            <ul class="layui-tab-title" id="tabChangeTitle">
                                <li class="layui-this" lay-id="1" >发起用户</li>
                                <li lay-id="2">获奖用户</li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="details-layui-row">
                    <div class="layui-row layui-form-row-content">
                        <div class="layui-tab layui-tab-brief">
                            <div class="layui-tab-content" id="tabChangeContent">
                                    <div id="initiateCustomer" class="layui-tab-item layui-show">
                                        <div class="layui-row layui-form-row-content">
                                            <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                                <div class="multiple-table">
                                                    <div class="multiple-cell">
                                                        <input type="text" v-model="q.initiateCustomerKeyword" autocomplete="off" placeholder="请输入客户姓名/客户性质/手机号"
                                                               style="width: 300px" class="layui-input searchVal">
                                                    </div>
                                                    <div class="multiple-cell">
                                                        <a class="layui-btn search-btn" @click="queryActivityPeerInitiateCustomer">查询</a>
                                                    </div>
                                                    <div class="multiple-cell">
                                                        <a class="layui-btn reset-btn" @click="resetActivityPeerInitiateCustomer">重置</a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-row layui-form-row-content">
                                            <div class="table">
                                                <table class="layui-hide" id="scActivityPeerInitiateCustomerLst"></table>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="beInitiateCustomer" class="layui-tab-item">
                                        <div class="layui-row layui-form-row-content">
                                            <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                                <div class="multiple-table">
                                                    <div class="multiple-cell">
                                                        <input type="text" v-model="q.beInitiateCustomerKeyword" autocomplete="off" placeholder="请输入客户姓名/客户性质/手机号"
                                                               style="width: 300px" class="layui-input searchVal">
                                                    </div>
                                                    <div class="multiple-cell">
                                                        <a class="layui-btn search-btn" @click="queryActivityPeerBeInitiateCustomer">查询</a>
                                                    </div>
                                                    <div class="multiple-cell">
                                                        <a class="layui-btn reset-btn" @click="resetActivityPeerBeInitiateCustomer">重置</a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-row layui-form-row-content">
                                            <div class="table">
                                                <table class="layui-hide" id="scActivityPeerBeInitiateCustomerLst"></table>
                                            </div>
                                        </div>
                                    </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </form>

    <div class="float-btn-group bottom-bar">
        <a class="layui-btn reset-btn" id="closePage">关闭</a>
    </div>
</div>

<script src="../../statics/js/modules/scactivity/scactivitypeerdatas.js?_${.now?long}"></script>
</body>
</html>
